#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QDialog>
#include <QtDebug>
#include "book.h"
#include "reservation.h"
#include "user.h"
#include "record.h"
#include"roomshow.h"
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    int fla;
    Widget(QWidget *parent = nullptr,int f = 2);
    ~Widget();
    void init();
    void change();


private:
    Ui::Widget *ui;
    Book *book;
    reservation *res;
    user *userpage;
    Record *record;
    roomshow *rooms;
};
#endif // WIDGET_H
